package com.zzyl.service;

import com.zzyl.base.PageResponse;
import com.zzyl.dto.NursingLevelDto;
import com.zzyl.dto.NursingPlanDto;
import com.zzyl.vo.NursingLevelVo;
import com.zzyl.vo.NursingPlanVo;

import java.util.List;

/**
 * @Description NursingPlanService
 * @Author LiShunSen
 * @Date 2024-08-28
 */
public interface NursingLevelService {

    List<NursingLevelVo> getAll();
    /**
     * 新增
     *
     * @param nursingLevelDto
     * @return
     */
    void insertLevel(NursingLevelDto nursingLevelDto);
    /**
     * 分页查询
     *
     * @param name
     * @param status
     * @param pageNum
     * @param pageSize
     * @return
     */
    PageResponse<NursingLevelVo> getByPage(String name, Integer status, Integer pageNum, Integer pageSize);
    /**
     * 根据id查询
     *
     * @param id
     * @return
     */
    NursingLevelVo getId(Long id);
    /**
     * 修改
     *
     * @param nursingLevelDto
     * @return
     */
    void updateLevel(NursingLevelDto nursingLevelDto);

    void deleteLevel(Long id);
    /*
     * 启用/禁用护理计划
     * @param id
     * @param status
     * @return
     */
    void statusLevel(Long id, Integer status);
}
